package com.hhd.flow.service;

import com.hhd.flow.install.mapper.H6InstallMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HFlowInstallService {

    @Autowired
    H6InstallMapper h6InstallMapper;

    public void install() {
        h6InstallMapper.installFlowDefinition();
        h6InstallMapper.installFlowDefinitionRef();
        h6InstallMapper.installFlowDefinitionRef();
        h6InstallMapper.installFlowAttachment();
        h6InstallMapper.installFlowComment();
        h6InstallMapper.installFlowGateWayExecution();
        h6InstallMapper.installFlowPath();
        h6InstallMapper.installFlowProcessInstance();
        h6InstallMapper.installFlowProcessInstanceHistory();
        h6InstallMapper.installFlowTask();
        h6InstallMapper.installFlowTaskHistory();
        h6InstallMapper.installFlowDone();
        h6InstallMapper.installFlowUserTask();
        h6InstallMapper.installFlowUserTaskHistory();
    }
}
